var events = require('events');
var emitter = new events.EventEmitter();
/**
*	设置两个监听器
*/
emitter.on('someEvent1' , function (argv1, argv2) {
	console.log('listen1：' + argv1 + argv2);
});
emitter.on('someEvent2', function (argv1, argv2) {
	console.log('listen2：' + argv1 + argv2);
});

/*
*	触发事件
*/
emitter.emit("someEvent1",'Hello，','Node');

setTimeout(function(){
	emitter.emit("someEvent2",'Hello，',"2015");
},3000);